<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* screen屏幕 */
        @media screen and (min-width: 1000px) {
            div{
                width: 200px;
                height: 200px;
                background-color: blue;
            }
        }

        @media screen and (min-width: 400px) and (max-width: 1000px) {
            div{
                width: 100px;
                height: 100px;
                background-color: red;
            }
        }
        /*print 表示调用打印机   */
        @media print {
             
        }
        /*speech 表示调用屏幕阅读器   */
        @media speech {
            
        }
        /* 
        all 是 screen  print speech 的集合*/
        @media all {

        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>